import { defineStore } from "pinia";

export const usePaymentStore = defineStore("payment", {
  state: () => ({
    payInfo: null,
  }),
  actions: {
    setPayInfo(info) {
      this.payInfo = info;
    },
    clearPayInfo() {
      this.payInfo = null;
    }
  },
  persist: true,
}); 